[INFO] cloning repository https://github.com/norun9/grep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/norun9/grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fgrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fgrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbaa63847e8631d389afda6cac2d3d42899a44d0
[INFO] checking norun9/grep against try#d57d2d63e6f308d854fedbafd91d7721b7c651af for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fgrep" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/norun9/grep on toolchain d57d2d63e6f308d854fedbafd91d7721b7c651af
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/norun9/grep
[INFO] finished tweaking git repo https://github.com/norun9/grep
[INFO] tweaked toml for git repo https://github.com/norun9/grep written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/norun9/grep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b40fb0233c31547e54fe0bf4732df95f591c5c8d20dec69b47b1e0e8c67935b
[INFO] running `Command { std: "docker" "start" "-a" "8b40fb0233c31547e54fe0bf4732df95f591c5c8d20dec69b47b1e0e8c67935b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b40fb0233c31547e54fe0bf4732df95f591c5c8d20dec69b47b1e0e8c67935b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b40fb0233c31547e54fe0bf4732df95f591c5c8d20dec69b47b1e0e8c67935b", kill_on_drop: false }`
[INFO] [stdout] 8b40fb0233c31547e54fe0bf4732df95f591c5c8d20dec69b47b1e0e8c67935b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2d2a5d6c3bb6f12167b7b0269c9e76a020cf66c7241a108f6060c3a2814fdc23
[INFO] running `Command { std: "docker" "start" "-a" "2d2a5d6c3bb6f12167b7b0269c9e76a020cf66c7241a108f6060c3a2814fdc23", kill_on_drop: false }`
[INFO] [stderr]     Checking grep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/lib.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `query` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let query;
[INFO] [stdout]    |             ----- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 26 |             query = args[0].to_string();
[INFO] [stdout]    |             -----
[INFO] [stdout]    |             |
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout] ...
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                     ^^^^^ `query` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `filename` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let filename;
[INFO] [stdout]    |             -------- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 27 |             filename = args[1].to_string();
[INFO] [stdout]    |             --------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout] 28 |         }
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                            ^^^^^^^^ `filename` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `f`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^^^^^--^
[INFO] [stdout]    |         |    |
[INFO] [stdout]    |         |    `f` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `q`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^--^^^^^
[INFO] [stdout]    |         ||
[INFO] [stdout]    |         |`q` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/lib.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `query` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let query;
[INFO] [stdout]    |             ----- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 26 |             query = args[0].to_string();
[INFO] [stdout]    |             -----
[INFO] [stdout]    |             |
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout] ...
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                     ^^^^^ `query` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0381, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0381`.
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `filename` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let filename;
[INFO] [stdout]    |             -------- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 27 |             filename = args[1].to_string();
[INFO] [stdout]    |             --------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout]    |             binding initialized here in some conditions
[INFO] [stdout] 28 |         }
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                            ^^^^^^^^ `filename` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `f`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^^^^^--^
[INFO] [stdout]    |         |    |
[INFO] [stdout]    |         |    `f` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `q`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^--^^^^^
[INFO] [stdout]    |         ||
[INFO] [stdout]    |         |`q` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grep` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `grep` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0381, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0381`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2d2a5d6c3bb6f12167b7b0269c9e76a020cf66c7241a108f6060c3a2814fdc23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d2a5d6c3bb6f12167b7b0269c9e76a020cf66c7241a108f6060c3a2814fdc23", kill_on_drop: false }`
[INFO] [stdout] 2d2a5d6c3bb6f12167b7b0269c9e76a020cf66c7241a108f6060c3a2814fdc23
